package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 供应商对象 qyi_supplier
 * 
 * @author ruoyi
 * @date 2024-12-23
 */
public class QyiSupplier extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long supplierId;

    /** 供应商编号 */
    @Excel(name = "供应商编号")
    private String supplierCode;

    /** 供应商名称 */
    @Excel(name = "供应商名称")
    private String supplierName;

    /** 供应商类型 */
    @Excel(name = "供应商类型")
    private Integer supplierType;

    /** 联系人 */
    @Excel(name = "联系人")
    private String linkMan;

    /** 联系电话 */
    @Excel(name = "联系电话")
    private String linkTel;

    /** 联系地址 */
    private String linkAddress;

    /** 供应商状态 */
    @Excel(name = "供应商状态")
    private Integer supplierStatus;

    /** 用户是否存在此供应商标识 默认不存在 */
    private boolean flag = false;

    public void setSupplierId(Long supplierId) 
    {
        this.supplierId = supplierId;
    }

    public Long getSupplierId() 
    {
        return supplierId;
    }
    public void setSupplierCode(String supplierCode) 
    {
        this.supplierCode = supplierCode;
    }

    public String getSupplierCode() 
    {
        return supplierCode;
    }
    public void setSupplierName(String supplierName) 
    {
        this.supplierName = supplierName;
    }

    public String getSupplierName() 
    {
        return supplierName;
    }
    public void setSupplierType(Integer supplierType) 
    {
        this.supplierType = supplierType;
    }

    public Integer getSupplierType() 
    {
        return supplierType;
    }
    public void setLinkMan(String linkMan) 
    {
        this.linkMan = linkMan;
    }

    public String getLinkMan() 
    {
        return linkMan;
    }
    public void setLinkTel(String linkTel) 
    {
        this.linkTel = linkTel;
    }

    public String getLinkTel() 
    {
        return linkTel;
    }
    public void setLinkAddress(String linkAddress) 
    {
        this.linkAddress = linkAddress;
    }

    public String getLinkAddress() 
    {
        return linkAddress;
    }
    public void setSupplierStatus(Integer supplierStatus) 
    {
        this.supplierStatus = supplierStatus;
    }

    public Integer getSupplierStatus() 
    {
        return supplierStatus;
    }

    public boolean isFlag() {
        return flag;
    }

    public void setFlag(boolean flag) {
        this.flag = flag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("supplierId", getSupplierId())
            .append("supplierCode", getSupplierCode())
            .append("supplierName", getSupplierName())
            .append("supplierType", getSupplierType())
            .append("linkMan", getLinkMan())
            .append("linkTel", getLinkTel())
            .append("linkAddress", getLinkAddress())
            .append("supplierStatus", getSupplierStatus())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
                .append("flag", isFlag())
            .toString();
    }
}
